<template>
  <div :id="title">
    {{title}}
    <button @click="handleClick">click</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: 'hello'
    }
  },

  methods: {
    handleClick() {
      this.title = 'world'
    }
  }
}
</script>

<style lang='stylus' scoped>

</style>